package com.zgj.netty_udp.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zgj.netty_udp.utils.SnowFlakeUtil;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@Builder
@TableName(value = "temp_record")
@NoArgsConstructor
@AllArgsConstructor
public class TempRecord implements java.io.Serializable{
    private String id = String.valueOf(SnowFlakeUtil.getFlowIdInstance().nextId());
    private String proVer;
    private String upload;
    private String seqno;
    private String manNum;
    private String devId;
    private Timestamp createTime;
    private Integer flag;
    private Integer count;
    private Integer chIndex;
    private String temp;
    private String crc16;
}
